package com.feign1.api.impl;

import com.feign1.api.param.Param1;
import com.feign1.api.dto.Dto1;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(url="${provider}",name="test")
public interface TestControllerApi {
    @RequestMapping("/api/callback")
    @ResponseBody
     Dto1 callback(@RequestBody Param1 data);
}
